﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
namespace huaxin_Model
{
    //PayOrder
    public class PayOrder
    {

        /// <summary>
        /// Id
        /// </summary>		
        private int _id;
        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }
        /// <summary>
        /// OrderId
        /// </summary>		
        private string _orderid;
        public string OrderId
        {
            get { return _orderid; }
            set { _orderid = value; }
        }
        /// <summary>
        /// 来源公众号的Id
        /// </summary>		
        private string _sourceopenid;
        public string SourceOpenId
        {
            get { return _sourceopenid; }
            set { _sourceopenid = value; }
        }
        /// <summary>
        /// 推广人Code
        /// </summary>		
        private string _pusercode;
        public string PUserCode
        {
            get { return _pusercode; }
            set { _pusercode = value; }
        }
        /// <summary>
        /// ChannelId
        /// </summary>		
        private int _channelid;
        public int ChannelId
        {
            get { return _channelid; }
            set { _channelid = value; }
        }
        /// <summary>
        /// 支付公众号的openId
        /// </summary>		
        private string _openid;
        public string OpenId
        {
            get { return _openid; }
            set { _openid = value; }
        }
        /// <summary>
        /// 0-未支付  1-支付完成
        /// </summary>		
        private int _ispay;
        public int IsPay
        {
            get { return _ispay; }
            set { _ispay = value; }
        }
        /// <summary>
        /// PayDate
        /// </summary>		
        private DateTime _paydate;
        public DateTime PayDate
        {
            get { return _paydate; }
            set { _paydate = value; }
        }
        /// <summary>
        /// PayAmount
        /// </summary>		
        private decimal _payamount;
        public decimal PayAmount
        {
            get { return _payamount; }
            set { _payamount = value; }
        }
        /// <summary>
        /// ProductId
        /// </summary>		
        private string _productid;
        public string ProductId
        {
            get { return _productid; }
            set { _productid = value; }
        }
        /// <summary>
        /// AccountId
        /// </summary>		
        private int _accountid;
        public int AccountId
        {
            get { return _accountid; }
            set { _accountid = value; }
        }
        /// <summary>
        /// AddDate
        /// </summary>		
        private DateTime _adddate;
        public DateTime AddDate
        {
            get { return _adddate; }
            set { _adddate = value; }
        }
        /// <summary>
        /// Ip
        /// </summary>		
        private string _ip;
        public string Ip
        {
            get { return _ip; }
            set { _ip = value; }
        }
        /// <summary>
        /// Tel
        /// </summary>		
        private string _tel;
        public string Tel
        {
            get { return _tel; }
            set { _tel = value; }
        }
        /// <summary>
        /// ProductName
        /// </summary>		
        private string _productname;
        public string ProductName
        {
            get { return _productname; }
            set { _productname = value; }
        }
        /// <summary>
        /// Remark
        /// </summary>		
        private string _remark;
        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }
        /// <summary>
        /// PayNumber
        /// </summary>		
        private string _paynumber;
        public string PayNumber
        {
            get { return _paynumber; }
            set { _paynumber = value; }
        }
        /// <summary>
        /// PrepayId
        /// </summary>		
        private string _prepayid;
        public string PrepayId
        {
            get { return _prepayid; }
            set { _prepayid = value; }
        }
        /// <summary>
        /// IsSend
        /// </summary>		
        private int _issend;
        public int IsSend
        {
            get { return _issend; }
            set { _issend = value; }
        }
    }
}

